﻿using System;
using System.Collections.Generic;

namespace deviceManage.Models
{
    /// <summary>
    /// 文档的model
    /// </summary>
    public partial class Document
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string TypeId { get; set; }
        public string UploadUser { get; set; }
        public DateTime? UploadTime { get; set; }
        public string ObjectId { get; set; }
        /// <summary>
        /// 文档附件存放的临时目录
        /// </summary>
        public string FilePath { get; set; }


        /// <summary>
        /// 文档分类：
        /// 1，运维合同文档
        /// 2，采购合同文档
        /// </summary>
        public int? Category { get; set; }

        public DocumentType Type { get; set; }

        /// <summary>
        /// 文档上传状态，1-上传完成，待保存；2-保存成功
        /// </summary>
        public int? DocState { get; set; }
    }
}
